import logging
import logging.config
import datetime
LOG_FORMAT = "%(asctime)s %(filename)s thread=%(thread)s %(message)s"
# LOG_FORMAT2 = "%(asctime)s - %(levelname)s - %(user)s[%(ip)s] - %(message)s"
DATE_FORMAT = "%m/%d/%Y %H:%M:%S %p"

logging.basicConfig(level=logging.DEBUG, format=LOG_FORMAT)

logger = logging.getLogger(__name__)
logger.debug('logger debug')
# logger.error('error msg')
logging.debug('debug info')